//
//  NSAVHCVAssemData.h
//  iCV200BLE
//
//  Created by moon_zm on 2025/5/14.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

#define MORE_DATA_COUNT 80

@interface NSAVHCVAssemData : NSObject
/** device more point data assemble A single point data
 * ECGs: filter end data
 * handler: a single point data
 */
+ (void)devicesECGsAssemSingleData:(NSArray<NSArray<NSNumber *> *> *)ECGs handler:(void (^)(NSArray<NSNumber *> * _Nullable))handler;

/** A single point filter data assemble more point filter data
 * filterECGs: filter end data
 * handler: more point filter data
 */
+ (void)filterECGsAssemECGsData:(NSArray <NSNumber *> *)filterECGs handler:(void (^)(NSArray<NSArray<NSNumber *> *> * _Nullable))handler;

/** clear more point cache data
 */
+ (void)clearBuffer;
@end

NS_ASSUME_NONNULL_END
